/*
 *
 *  * Copyright (c) 2016. For Intelligent Group.
 *
 */

package com.intelligent.ispc.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by yangli on 2015-07-24.
 */
@Component
public class SystemConfig {

    @Value("${PRIMARY_KEY}")
    private String primaryKey;

    @Value("${SEARCH_KEYS}")
    private String searchKeys;

    @Value("${ATTRIBUTE_KEYS}")
    private String attributeKeys;

    @Value("${YIELD_VALIDATE_KEY}")
    private String yieldValidateKey;

    @Value("${SPC_EXPORT_NUMBER}")
    private Integer spcExportNumber;

    @Value("${GRR_EXPORT_NUMBER}")
    private Integer grrExportNumber;

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getSearchKeys() {
        return searchKeys;
    }

    public void setSearchKeys(String searchKeys) {
        this.searchKeys = searchKeys;
    }

    public String getAttributeKeys() {
        return attributeKeys;
    }

    public void setAttributeKeys(String attributeKeys) {
        this.attributeKeys = attributeKeys;
    }

    public String getYieldValidateKey() {
        return yieldValidateKey;
    }

    public void setYieldValidateKey(String yieldValidateKey) {
        this.yieldValidateKey = yieldValidateKey;
    }

    public Integer getSpcExportNumber() {
        return spcExportNumber;
    }

    public void setSpcExportNumber(Integer spcExportNumber) {
        this.spcExportNumber = spcExportNumber;
    }

    public Integer getGrrExportNumber() {
        return grrExportNumber;
    }

    public void setGrrExportNumber(Integer grrExportNumber) {
        this.grrExportNumber = grrExportNumber;
    }
}
